package cn.ylz.ylmall.shopping.service;


import cn.ylz.ylmall.account.pojo.vo.PageData;
import cn.ylz.ylmall.account.security.CurrentPrincipal;
import cn.ylz.ylmall.content.pojo.param.ContentAddNewParam;
import cn.ylz.ylmall.content.pojo.vo.ContentListItemVO;
import cn.ylz.ylmall.content.pojo.vo.ContentStandardVO;
import cn.ylz.ylmall.shopping.pojo.entity.Shopping;
import cn.ylz.ylmall.shopping.pojo.param.ShoppingParam;
import cn.ylz.ylmall.shopping.pojo.param.ShoppingQuantityParam;
import cn.ylz.ylmall.shopping.pojo.param.ShoppingSelectedParam;
import cn.ylz.ylmall.shopping.pojo.vo.ShoppingVO;
import cn.ylz.ylmall.shopping.pojo.vo.ShoppingVO1;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IShoppingService{

    void addNew(ShoppingParam shoppingParam,Long userId);
    List<ShoppingVO1> showAll(Long userId);
    void updateQuantity(List<ShoppingQuantityParam> lis);
    void delete(List<Long> list);
    List<ShoppingVO1> selectCartId(List<Long> list);
    List<ShoppingVO> showDeclineAll(Long userId);
    List<ShoppingVO> showHavingAll(Long userId);



}
